How can I access a variable defined in a nested function in Python

visit shbcf.ru